<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ include file="/jsp/common/index.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
    <title>更新系统参数</title>
		<%@ include file="/jsp/common/js.jsp"%>
		<%@ include file="/jsp/common/css.jsp"%>
		<base target="_self">
		<script language="javascript">
		<!--
		   function dataInsertOrUpdate()
		   {
			if(getlength(g("vo.name").value)<1)
		       {
		           alert("请输入参数名称");
		           return;
		       }
		       if(getlength(g("vo.value").value)<1)
		       {
		           alert("请输入参数");
		           return;
		       }
		       g("form").submit();
		   }
		-->
		</script>
	</head>

	<body class="cbody">
		<%@ include file="/jsp/page/pagehead.jsp"%>
		<br/>
		<s:form id="form"  action="update" theme="simple">  
		<s:hidden name="vo.id" id="vo.id"></s:hidden>
		<table width="90%" border="0" cellpadding="0" cellspacing="0" class="inputarea" align="center">
		<thead>
		    <tr class="detailrow">
		       <td class="tleft" colspan="3">&nbsp;更新系统参数</td>
		    </tr>
		</thead>
		
		  <tr class="detailrow">
				<td class="tright" width="15%">
					参数名称&nbsp;
				</td>
				<td class="tleft" width="50%">
					<s:textfield label="参数名称：" name="vo.name" id="vo.name" maxlength= "50"  theme="simple" cssClass="largeinput"/>
				</td>
				<td class="tleft">
				   &nbsp;最长25个汉字
				</td>
			</tr>
			
			<tr class="detailrow">
				<td class="tright" width="15%">
					参数类型&nbsp;
				</td>
				<td class="tleft" width="50%">
					<s:select label="参数类型：" id="vo.parametertype" labelposition="top" theme="simple"  multiple="false" listKey="key" listValue="value" name="vo.parametertype" list="parameterType"></s:select>
				</td>
				<td class="tleft">
				   &nbsp;
				</td>
			</tr>
			<tr class="detailrow">
				<td class="tright" width="15%">
					参数&nbsp;
				</td>
				<td class="tleft" width="50%">
					<s:textfield label="参数：" name="vo.value" id="vo.value" maxlength= "100"  theme="simple" cssClass="largeinput"/>
				</td>
				<td class="tleft">
				   &nbsp;最长25个字符
				</td>
			</tr>

			<tr>
			    <td>
			       &nbsp;
			    </td>
				<td class="tcenter">
					<input type="button" class="wbt" value="保存" id="UpdateButton" onclick="dataInsertOrUpdate();"/>
					&nbsp;&nbsp;
					<input type="button" class="wbt" value="列表" id="listButton" onclick="window.location='beforeSelect.htm';"/>
				</td>
				<td>
				   &nbsp;
				</td>
			</tr>

            <tr>
				<td cospan="3" class="tcenter">
					&nbsp;
				</td>
			</tr>
 
		</table>
        </s:form>



		<%@ include file="/jsp/page/foot.jsp"%>
	</body>
</html>

